home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v2.1 / Amiga Developer CD v2.1.iso / CDTV / cdtvtools-11 / debox / include / deboxproto.h < prev   
C/C++ Source or Header  |  1991-06-24  |  2KB  |  71 lines

  1. /* :ts=8
  2. *
  3. *    deboxproto.h
  4. *
  5. * William A. Ware                    9006.20
  6. * Adjustments to types (void *), readability
  7. * ennhancement.                        9010.01    ewhac
  8. *
  9. **
  10. **      Copyright (c) 1991 Commodore Electronics Ltd.
  11. **      All rights reserved. Confidential and Proprietary.
  12. **      CDTV is a trademark of Commodore Electronics Ltd.
  13. **/
  14.  
  15.  
  16. /* PRIVATE */
  17. VOID            Eor        (UBYTE *, ULONG, UBYTE *);
  18.  
  19. /* PUBLIC */
  20. BYTE             CheckHeader    (struct CompHeader *header);
  21. ULONG            HeaderSize    (struct CompHeader *header);
  22. void            *NextComp    (struct CompHeader *header, void *indata);
  23. LONG             DecompData    (struct CompHeader *header,
  24.                      void *indata, void *outdata);
  25.  
  26. ULONG            BMInfoSize    (struct CompHeader *header, void *indata);
  27. struct BMInfo        *DecompBMInfo    (struct BMInfo *bminfo,
  28.                      struct CompHeader *header, void *indata);
  29. VOID            FreeBMInfo    (struct BMInfo *bminfo);
  30. LONG             DecompBitMap    (struct CompHeader *header, void *indata,
  31.                      struct BitMap *bitmap, UBYTE *mask);
  32. LONG            MemSet        (void *buffer, BYTE value, ULONG size);
  33. struct BitMap          *AllocBitMap    (UWORD depth, UWORD width, UWORD height);
  34. VOID            FreeBitMap    (struct BitMap *bitmap);
  35.  
  36. struct SuperView    *CreateView    (struct SuperView *superview, struct BitMap *bitmap,
  37.                      UWORD width, UWORD height, UWORD modes);
  38. VOID            DeleteView    (struct SuperView *superview);
  39. VOID            CenterViewPort    (struct View *view,struct ViewPort *viewport);
  40.  
  41. int            CycleColors    (struct BMInfo *bminfo, ULONG microsec);
  42.  
  43. #ifndef  NO_PRAGMAS
  44. /*----------------------------------------------------------------------*/
  45. /*pragma libcall DeBoxBase Decomp 1E BA9804*/
  46. /*pragma libcall DeBoxBase STDDecomp 24 0A9804*/
  47. /*pragma libcall DeBoxBase Eor 2A 90803*/
  48. /*- header*/
  49. #pragma libcall DeBoxBase CheckHeader 30 801
  50. #pragma libcall DeBoxBase HeaderSize 36 801
  51. #pragma libcall DeBoxBase NextComp 3C 9802
  52. /*- decompression*/
  53. #pragma libcall DeBoxBase DecompData 42 A9803
  54. /*- bitmap decompression.*/
  55. #pragma libcall DeBoxBase BMInfoSize 48 9802
  56. #pragma libcall DeBoxBase DecompBMInfo 4E A9803
  57. #pragma libcall DeBoxBase FreeBMInfo 54 801
  58. #pragma libcall DeBoxBase DecompBitMap 5A BA9804
  59. /*- other*/
  60. #pragma libcall DeBoxBase MemSet 60 10803
  61. #pragma libcall DeBoxBase AllocBitMap 66 21003
  62. #pragma libcall DeBoxBase FreeBitMap 6C 801
  63. /*- view*/
  64. #pragma libcall DeBoxBase CreateView 72 2109805
  65. #pragma libcall DeBoxBase DeleteView 78 801
  66. #pragma libcall DeBoxBase CenterViewPort 7E 9802
  67. /*- cycle*/
  68. #pragma libcall DeBoxBase CycleColors 84 0802
  69.  
  70. #endif
  71.